package tec;

class Repos extends PassagerAbstrait{
	Repos(String nom, int destination, Comportement c) throws IllegalArgumentException{
		super(nom,destination,c);
	}
	
	public void choixPlaceMontee(Bus b, Passager p){
		if(b.aPlaceAssise())
			b.demanderPlaceAssise(p);
		else
			b.demanderPlaceDebout(p);
	
	}

}
